<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@include file="/common/taglibs.jsp"%>
<%@include file="/common/extjs.jsp"%>
<html>
<head>
<%@include file="/common/meta.jsp" %>
<title></title>

<style type="text/css">
.success_frame{ 
	width:80%; border:2px solid #dfc9b2; padding:0 20px; 
	margin: 0 auto;
	margin-top:50px;
	height: 260px;
	
}
	
.shoppingcart_wrapper{ width:960px; margin:0 auto; background:#fff; color:#404040; font-size:12px}
</style>
</head>
<body>
	<c:choose>
		<c:when test="${model != null and model.id != null}">
			<div class="success_frame">
				<div style="margin: 0 auto;margin-top: 50px; width: 80%; background:url(${ctx}/pages/front/order/images/bg_success.gif) no-repeat 120px 44px;">
				
					订单<span style="font-size: 30px;color: #336699;">${model.sn }</span>已提交。    
		   			<a  href="${ctx}/front/orderForm/viewOrder.do?model.id=${model.id}&placeOrderView=true">查看订单状态&gt;&gt;</a>
		   	
				</div>
		   		
		   		<div style="margin: 0 auto;margin-top: 20px;  width: 80%; " >    
		     			您需要支付<span style="color: #cc3300;font-size: 26px;">￥<fmt:formatNumber pattern="#,#00.00#" value="${model.money }"></fmt:formatNumber></span>     
		   		</div>
		   		<div style="margin: 0 auto;margin-top: 20px; margin-bottom:50px;  width: 80%;">    
		      		* 您可以在“<a href="${ctx}/front/orderForm/viewOrder.do?model.id=${model.id}">我的订单</a>”中查看或取消您的订单。
		      	</div>
		 	</div>
		</c:when>
		<c:otherwise>
			<div class="success_frame">
				<div style="margin: 0 auto;margin-top: 100px; width: 100%;  text-align: center;">
					<a style="color: blue;font-size: 14px;" class="goon" name="goon"  href="${ctx}/pages/main.jsp">继续购物&gt;&gt;</a>
				</div>
		 	</div>
		</c:otherwise>
	</c:choose>
	
</body>
</html>